import request from '@/utils/request'

// 获取用户积分
export function allVolunteerList () {
  return request({
    url: '/volunteer/list',
    method: 'get',
    params: {
      pageNum: 1,
      pageSize: 100
    }
  })
}
export function allVolunteerLogList (query) {
  return request({
    url: '/volunteer/logList',
    method: 'get',
    params: query
  })
}

export function application (id) {
  return request({
    url: '/volunteer/application',
    method: 'get',
    params: {
      id: id
    }
  })
}
